home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gMenuButton, gMenuExit, CreditList, firstCredit, menuAudio
- menuAudio = "none"
- sound stop 1
- CreditList = [:]
- c1 = 5
- addProp(CreditList, c1, new(script("Credit button"), "fotos", "internal", c1, the loc of sprite c1))
- c1 = c1 + 1
- addProp(CreditList, c1, new(script("Credit button"), "HRW", "internal", c1, the loc of sprite c1))
- c1 = c1 + 1
- addProp(CreditList, c1, new(script("Credit button"), "TDP", "internal", c1, the loc of sprite c1))
- firstCredit = 1
- set the puppet of sprite 8 to 1
- set the member of sprite 8 to member("fotos Credits")
- updateStage()
- setHandCursor([5, 6, 7, 40, 41])
- repeat with X = 5 to 7
- creditObj = getaProp(CreditList, X)
- Inscope(creditObj)
- end repeat
- Inscope(gMenuButton)
- Inscope(gMenuExit)
- if firstCredit then
- creditObj = getaProp(CreditList, 5)
- simulateClickOn(creditObj)
- firstCredit = 0
- updateStage()
- end if
- end
-